//
//  ImageCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/9/5.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "ImageCell.h"

@interface ImageCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;

@end

@implementation ImageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setImageName:(NSString *)imageName
{
    _imageName = imageName;
    NSString *filePath = [[NSBundle mainBundle] pathForResource:imageName ofType:@"png"];
    self.imgView.image = [[UIImage alloc] initWithContentsOfFile:filePath];
}

@end
